package de.gwtprime.server.servlets;

import com.google.web.bindery.requestfactory.server.ServiceLayerDecorator;

public class PrimeServiceLayerDecorator extends ServiceLayerDecorator {

	/**
	 * This check does normally a lookup against the db for every element in a collection
	 * -> Therefore overridden
	 */
	@Override
	public boolean isLive(Object domainObject) {
		
		//Object o = RequestFactoryServlet.getThreadLocalRequest().getSession().getAttribute("userName");
		return true;
	}
}
